class TestClass:
    def __init__(self):
        self.name = 'paomo'
t = TestClass()
print(t)


class TestClass:
    def __init__(self):
        self.name = 'paomo'

    def __str__(self):
        return self.name
t = TestClass()
print(t)
